```bash
sudo yum install memcached -y
sudo systemctl start memcached
sudo systemctl enable memcached
```

查看运行状态：

```bash
systemctl status memcached
```